package com.motion.generator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author www
 * @since 2022-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Course")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "courseId", type = IdType.AUTO)
    private Long courseId;

    @TableField("courseName")
    private String courseName;

    @TableField("backgroundUrl")
    private String backgroundUrl;

    /**
     * ;分隔
     */
    private String actions;

    /**
     * 和actions对应
     */
    private String counts;

    @TableField("onLine")
    private Integer onLine;

    private LocalTime duration;

    private Integer hits;

    private Integer collections;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("courseIntro")
    private String courseIntro;

    @TableField("targetAge")
    private String targetAge;

    @TableField("uploaderId")
    private Long uploaderId;


}
